package com.dhcc.core.framework.security.client.hos;

import com.github.scribejava.core.model.OAuth2AccessToken;

public class HosToken extends OAuth2AccessToken {

    private static final long serialVersionUID = 1489916603771001585L;
    private String status;

    public HosToken(OAuth2AccessToken accessToken, String status) {
        super(accessToken.getAccessToken(), accessToken.getTokenType(), accessToken.getExpiresIn(),
                accessToken.getRefreshToken(), accessToken.getScope(),
                accessToken.getRawResponse());
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
